package com.guangyunl.c_staticutils;

public class Test02 {
    public static void main(String[] args) {
        int[] arr2 = {3, 455, 45, 2, 98};
        int max = arr2[0];
        for (int i = 0; i < arr2.length; i++) {
            if(max < arr2[i]){
                max = arr2[i];
            }
        }
        System.out.println("max = " + max);
    }
}
/*
max = 455
 */